package cn.sciento.farm.devicemanager.dao.mapper;

import cn.sciento.farm.devicemanager.dao.entity.DevStrategy;
import cn.sciento.farm.devicemanager.dao.model.StrategyInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 开关策略 Mapper 接口
 * </p>
 *
 * @author wumu
 * @since 2019-06-09
 */
public interface StrategyMapper extends BaseMapper<DevStrategy> {

    List<StrategyInfo> getByControllerId(@Param("controllerId") long controllerId);
}
